package com.example.travel.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.travel.domain.entity.Cart;
import com.example.travel.domain.response.CartSpotResponseVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * @Author : LinQingLiang
 * @file : CartMapper.java
 * @Since : 2023/2/23 10:54
 */
@Mapper
public interface CartMapper extends BaseMapper<Cart> {


    Page<CartSpotResponseVo> page(Page<Object> objectPage, String name, @Param("userId") Integer userId, String role);
}
